<html>
<head>
<meta charset="utf-8"></meta>
<title>BTreeWidget</title>
<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
<body>
		<div class="class" name="BTreeWidget">
<h1>BTreeWidget</h1>
<p>继承自<a href="BScrollArea.html">BScrollArea</a></p>
			<p id="resume"><a href="#desc">详细</a></p><h2>public</h2>
<table id="public">
<tr><td align="right"/><td><a href="#BTreeWidget(BWidget*)">BTreeWidget</a>(BWidget* parent = 0);</td></tr>
<tr><td align="right"/><td><a href="#BTreeWidget(const BString&,BWidget*)">BTreeWidget</a>(const BString&amp; title, BWidget* parent = 0);</td></tr>
<tr><td align="right"/><td><a href="#~BTreeWidget()">~BTreeWidget</a>();</td></tr>
<tr><td align="right">void </td><td><a href="#expandAll()">expandAll</a>();</td></tr>
<tr><td align="right">void </td><td><a href="#shrinkAll()">shrinkAll</a>();</td></tr>
<tr><td align="right">void </td><td><a href="#expand(BTreeItem*)">expand</a>(BTreeItem* item);</td></tr>
<tr><td align="right">void </td><td><a href="#shrink(BTreeItem*)">shrink</a>(BTreeItem* item);</td></tr>
<tr><td align="right">void </td><td><a href="#setSelectMode(SelectMode)">setSelectMode</a>(SelectMode select);</td></tr>
<tr><td align="right">SelectMode </td><td><a href="#selectMode() const">selectMode</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setArrowVisible(bool)">setArrowVisible</a>(bool arrowVisible);</td></tr>
<tr><td align="right">bool </td><td><a href="#arrowVisible() const">arrowVisible</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setArrowSize(const BSize&)">setArrowSize</a>(const BSize&amp; arrowSize);</td></tr>
<tr><td align="right">const BSize&amp; </td><td><a href="#arrowSize() const">arrowSize</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setIndent(int)">setIndent</a>(int indent);</td></tr>
<tr><td align="right">int </td><td><a href="#indent() const">indent</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setItemSpacing(int)">setItemSpacing</a>(int itemSpacing);</td></tr>
<tr><td align="right">int </td><td><a href="#itemSpacing() const">itemSpacing</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setItemPolicy(Policy)">setItemPolicy</a>(Policy itemPolicy);</td></tr>
<tr><td align="right">Policy </td><td><a href="#itemPolicy() const">itemPolicy</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#addItem(BTreeItem*)">addItem</a>(BTreeItem* item);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#addItem(const BString&)">addItem</a>(const BString&amp; text);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#addItem(Graph,const BString&,Form)">addItem</a>(Graph graph, const BString&amp; text = BString(), Form form = Form_None);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#addItem(BIcon*,const BString&,Form)">addItem</a>(BIcon* icon, const BString&amp; text = BString(), Form form = Form_None);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#addItem(BImage*,const BString&,Form)">addItem</a>(BImage* image, const BString&amp; text = BString(), Form form = Form_None);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#addItem(BWidget*,const BString&,Form)">addItem</a>(BWidget* widget, const BString&amp; text = BString(), Form form = Form_None);</td></tr>
<tr><td align="right">bool </td><td><a href="#removeItem(int)">removeItem</a>(int index);</td></tr>
<tr><td align="right">bool </td><td><a href="#removeItem(BTreeItem*)">removeItem</a>(BTreeItem* item);</td></tr>
<tr><td align="right">bool </td><td><a href="#removeItem(const BString&)">removeItem</a>(const BString&amp; text);</td></tr>
<tr><td align="right">void </td><td><a href="#clearItems()">clearItems</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#containItem(const BTreeItem*) const">containItem</a>(const BTreeItem* item) const;</td></tr>
<tr><td align="right">bool </td><td><a href="#containItem(const BString&) const">containItem</a>(const BString&amp; text) const;</td></tr>
<tr><td align="right">int </td><td><a href="#itemIndex(const BTreeItem*) const">itemIndex</a>(const BTreeItem* item) const;</td></tr>
<tr><td align="right">int </td><td><a href="#itemIndex(const BString&) const">itemIndex</a>(const BString&amp; text) const;</td></tr>
<tr><td align="right">bool </td><td><a href="#replaceItem(BTreeItem*, BTreeItem*)">replaceItem</a>(BTreeItem* oldItem, BTreeItem* newItem);</td></tr>
<tr><td align="right">int </td><td><a href="#itemCount() const">itemCount</a>() const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#item(int)">item</a>(int index);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#item(int) const">item</a>(int index) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#item(const BString&)">item</a>(const BString&amp; text);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#item(const BString&) const">item</a>(const BString&amp; text) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#itemOfText(const BString&)">itemOfText</a>(const BString&amp; text);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#itemOfText(const BString&) const">itemOfText</a>(const BString&amp; text) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#itemOfAsset(const BValue&)">itemOfAsset</a>(const BValue&amp; value);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#itemOfAsset(const BValue&) const">itemOfAsset</a>(const BValue&amp; value) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#itemAt(const BPoint&)">itemAt</a>(const BPoint&amp; point);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#itemAt(const BPoint&) const">itemAt</a>(const BPoint&amp; point) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#itemAbove(const BPoint&)">itemAbove</a>(const BPoint&amp; point);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#itemAbove(const BPoint&) const">itemAbove</a>(const BPoint&amp; point) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#itemUnder(const BPoint&)">itemUnder</a>(const BPoint&amp; point);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#itemUnder(const BPoint&) const">itemUnder</a>(const BPoint&amp; point) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#create(const BString&)">create</a>(const BString&amp; path);</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#locate(const BString&)">locate</a>(const BString&amp; path);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#locate(const BString&) const">locate</a>(const BString&amp; path) const;</td></tr>
<tr><td align="right">bool </td><td><a href="#setSelection(BTreeItem*)">setSelection</a>(BTreeItem* selectedItem);</td></tr>
<tr><td align="right">bool </td><td><a href="#setSelection(const BTreeItemArray&)">setSelection</a>(const BTreeItemArray&amp; selection);</td></tr>
<tr><td align="right">const BTreeItemArray&amp; </td><td><a href="#selection() const">selection</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#setItemSelected(BTreeItem*,bool)">setItemSelected</a>(BTreeItem* item, bool selected = true);</td></tr>
<tr><td align="right">bool </td><td><a href="#clearSelection()">clearSelection</a>();</td></tr>
<tr><td align="right">int </td><td><a href="#selectedItemCount() const">selectedItemCount</a>() const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#selectedItem(int)">selectedItem</a>(int index = 0);</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#selectedItem(int) const">selectedItem</a>(int index = 0) const;</td></tr>
<tr><td align="right">BTreeItem* </td><td><a href="#hoveredItem()">hoveredItem</a>();</td></tr>
<tr><td align="right">const BTreeItem* </td><td><a href="#hoveredItem() const">hoveredItem</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#itemVisual(BTreeItem*) const">itemVisual</a>(BTreeItem* item) const;</td></tr>
<tr><td align="right">bool </td><td><a href="#scrollToItem(BTreeItem*,Align)">scrollToItem</a>(BTreeItem* item, Align align = Align_None);</td></tr>
<tr><td align="right">virtual bool </td><td><a href="#sortItems(int)">sortItems</a>(int mode = -1);</td></tr>
<tr><td align="right">virtual bool </td><td><a href="#sortItems(BTreeItem*,int)">sortItems</a>(BTreeItem* item, int mode = -1);</td></tr>
<tr><td align="right">virtual const BString&amp; </td><td><a href="#realTips() const">realTips</a>() const;</td></tr>
<tr><td align="right">using </td><td><a href="#BScrollArea::query;()">BScrollArea::query;</a></td></tr>
<tr><td align="right">virtual bool </td><td><a href="#query(const BString&, BValue&) const">query</a>(const BString&amp; text, BValue&amp; value) const;</td></tr>
			</table>
<h2>protected</h2>
<table id="protected">
<tr><td align="right">virtual void </td><td><a href="#scrolling(Orientation)">scrolling</a>(Orientation orientation);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#styleEvent(const BEvent&)">styleEvent</a>(const BEvent&amp; event);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#freshEvent(const BEvent&)">freshEvent</a>(const BEvent&amp; event);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#paintEvent(const BEvent&)">paintEvent</a>(const BEvent&amp; event);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseEnterEvent(const BMouseEvent&)">mouseEnterEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseLeaveEvent(const BMouseEvent&)">mouseLeaveEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mousePressEvent(const BMouseEvent&)">mousePressEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseReleaseEvent(const BMouseEvent&)">mouseReleaseEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseMoveEvent(const BMouseEvent&)">mouseMoveEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseClickEvent(const BMouseEvent&)">mouseClickEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
<tr><td align="right">virtual void </td><td><a href="#mouseDoubleClickEvent(const BMouseEvent&)">mouseDoubleClickEvent</a>(const BMouseEvent&amp; mouseEvent);</td></tr>
			</table>
<div id="desc">
<h2>详细介绍：</h2>
			</div>
<h2 id="docs">成员文档：</h2>
<div id="BTreeWidget(BWidget*)">
<h3>BTreeWidget(BWidget* parent = 0);</h3>
			</div>
<div id="BTreeWidget(const BString&,BWidget*)">
<h3>BTreeWidget(const BString&amp; title, BWidget* parent = 0);</h3>
			</div>
<div id="~BTreeWidget()">
<h3>~BTreeWidget();</h3>
			</div>
<div id="expandAll()">
<h3>void expandAll();</h3>
			</div>
<div id="shrinkAll()">
<h3>void shrinkAll();</h3>
			</div>
<div id="expand(BTreeItem*)">
<h3>void expand(BTreeItem* item);</h3>
			</div>
<div id="shrink(BTreeItem*)">
<h3>void shrink(BTreeItem* item);</h3>
			</div>
<div id="setSelectMode(SelectMode)">
<h3>void setSelectMode(SelectMode select);</h3>
			</div>
<div id="selectMode() const">
<h3>SelectMode selectMode() const;</h3>
			</div>
<div id="setArrowVisible(bool)">
<h3>void setArrowVisible(bool arrowVisible);</h3>
			</div>
<div id="arrowVisible() const">
<h3>bool arrowVisible() const;</h3>
			</div>
<div id="setArrowSize(const BSize&)">
<h3>void setArrowSize(const BSize&amp; arrowSize);</h3>
			</div>
<div id="arrowSize() const">
<h3>const BSize&amp; arrowSize() const;</h3>
			</div>
<div id="setIndent(int)">
<h3>void setIndent(int indent);</h3>
			</div>
<div id="indent() const">
<h3>int indent() const;</h3>
			</div>
<div id="setItemSpacing(int)">
<h3>void setItemSpacing(int itemSpacing);</h3>
			</div>
<div id="itemSpacing() const">
<h3>int itemSpacing() const;</h3>
			</div>
<div id="setItemPolicy(Policy)">
<h3>void setItemPolicy(Policy itemPolicy);</h3>
			</div>
<div id="itemPolicy() const">
<h3>Policy itemPolicy() const;</h3>
			</div>
<div id="addItem(BTreeItem*)">
<h3>bool addItem(BTreeItem* item);</h3>
			</div>
<div id="addItem(const BString&)">
<h3>BTreeItem* addItem(const BString&amp; text);</h3>
			</div>
<div id="addItem(Graph,const BString&,Form)">
<h3>BTreeItem* addItem(Graph graph, const BString&amp; text = BString(), Form form = Form_None);</h3>
			</div>
<div id="addItem(BIcon*,const BString&,Form)">
<h3>BTreeItem* addItem(BIcon* icon, const BString&amp; text = BString(), Form form = Form_None);</h3>
			</div>
<div id="addItem(BImage*,const BString&,Form)">
<h3>BTreeItem* addItem(BImage* image, const BString&amp; text = BString(), Form form = Form_None);</h3>
			</div>
<div id="addItem(BWidget*,const BString&,Form)">
<h3>BTreeItem* addItem(BWidget* widget, const BString&amp; text = BString(), Form form = Form_None);</h3>
			</div>
<div id="removeItem(int)">
<h3>bool removeItem(int index);</h3>
			</div>
<div id="removeItem(BTreeItem*)">
<h3>bool removeItem(BTreeItem* item);</h3>
			</div>
<div id="removeItem(const BString&)">
<h3>bool removeItem(const BString&amp; text);</h3>
			</div>
<div id="clearItems()">
<h3>void clearItems();</h3>
			</div>
<div id="containItem(const BTreeItem*) const">
<h3>bool containItem(const BTreeItem* item) const;</h3>
			</div>
<div id="containItem(const BString&) const">
<h3>bool containItem(const BString&amp; text) const;</h3>
			</div>
<div id="itemIndex(const BTreeItem*) const">
<h3>int itemIndex(const BTreeItem* item) const;</h3>
			</div>
<div id="itemIndex(const BString&) const">
<h3>int itemIndex(const BString&amp; text) const;</h3>
			</div>
<div id="replaceItem(BTreeItem*, BTreeItem*)">
<h3>bool replaceItem(BTreeItem* oldItem, BTreeItem* newItem);</h3>
			</div>
<div id="itemCount() const">
<h3>int itemCount() const;</h3>
			</div>
<div id="item(int)">
<h3>BTreeItem* item(int index);</h3>
			</div>
<div id="item(int) const">
<h3>const BTreeItem* item(int index) const;</h3>
			</div>
<div id="item(const BString&)">
<h3>BTreeItem* item(const BString&amp; text);</h3>
			</div>
<div id="item(const BString&) const">
<h3>const BTreeItem* item(const BString&amp; text) const;</h3>
			</div>
<div id="itemOfText(const BString&)">
<h3>BTreeItem* itemOfText(const BString&amp; text);</h3>
			</div>
<div id="itemOfText(const BString&) const">
<h3>const BTreeItem* itemOfText(const BString&amp; text) const;</h3>
			</div>
<div id="itemOfAsset(const BValue&)">
<h3>BTreeItem* itemOfAsset(const BValue&amp; value);</h3>
			</div>
<div id="itemOfAsset(const BValue&) const">
<h3>const BTreeItem* itemOfAsset(const BValue&amp; value) const;</h3>
			</div>
<div id="itemAt(const BPoint&)">
<h3>BTreeItem* itemAt(const BPoint&amp; point);</h3>
			</div>
<div id="itemAt(const BPoint&) const">
<h3>const BTreeItem* itemAt(const BPoint&amp; point) const;</h3>
			</div>
<div id="itemAbove(const BPoint&)">
<h3>BTreeItem* itemAbove(const BPoint&amp; point);</h3>
			</div>
<div id="itemAbove(const BPoint&) const">
<h3>const BTreeItem* itemAbove(const BPoint&amp; point) const;</h3>
			</div>
<div id="itemUnder(const BPoint&)">
<h3>BTreeItem* itemUnder(const BPoint&amp; point);</h3>
			</div>
<div id="itemUnder(const BPoint&) const">
<h3>const BTreeItem* itemUnder(const BPoint&amp; point) const;</h3>
			</div>
<div id="create(const BString&)">
<h3>BTreeItem* create(const BString&amp; path);</h3>
			</div>
<div id="locate(const BString&)">
<h3>BTreeItem* locate(const BString&amp; path);</h3>
			</div>
<div id="locate(const BString&) const">
<h3>const BTreeItem* locate(const BString&amp; path) const;</h3>
			</div>
<div id="setSelection(BTreeItem*)">
<h3>bool setSelection(BTreeItem* selectedItem);</h3>
			</div>
<div id="setSelection(const BTreeItemArray&)">
<h3>bool setSelection(const BTreeItemArray&amp; selection);</h3>
			</div>
<div id="selection() const">
<h3>const BTreeItemArray&amp; selection() const;</h3>
			</div>
<div id="setItemSelected(BTreeItem*,bool)">
<h3>bool setItemSelected(BTreeItem* item, bool selected = true);</h3>
			</div>
<div id="clearSelection()">
<h3>bool clearSelection();</h3>
			</div>
<div id="selectedItemCount() const">
<h3>int selectedItemCount() const;</h3>
			</div>
<div id="selectedItem(int)">
<h3>BTreeItem* selectedItem(int index = 0);</h3>
			</div>
<div id="selectedItem(int) const">
<h3>const BTreeItem* selectedItem(int index = 0) const;</h3>
			</div>
<div id="hoveredItem()">
<h3>BTreeItem* hoveredItem();</h3>
			</div>
<div id="hoveredItem() const">
<h3>const BTreeItem* hoveredItem() const;</h3>
			</div>
<div id="itemVisual(BTreeItem*) const">
<h3>bool itemVisual(BTreeItem* item) const;</h3>
			</div>
<div id="scrollToItem(BTreeItem*,Align)">
<h3>bool scrollToItem(BTreeItem* item, Align align = Align_None);</h3>
			</div>
<div id="sortItems(int)">
<h3>virtual bool sortItems(int mode = -1);</h3>
			</div>
<div id="sortItems(BTreeItem*,int)">
<h3>virtual bool sortItems(BTreeItem* item, int mode = -1);</h3>
			</div>
<div id="realTips() const">
<h3>virtual const BString&amp; realTips() const;</h3>
			</div>
<div id="BScrollArea::query;()">
<h3>using BScrollArea::query;</h3>
			</div>
<div id="query(const BString&, BValue&) const">
<h3>virtual bool query(const BString&amp; text, BValue&amp; value) const;</h3>
			</div>
<div id="scrolling(Orientation)">
<h3>virtual void scrolling(Orientation orientation);</h3>
			</div>
<div id="styleEvent(const BEvent&)">
<h3>virtual void styleEvent(const BEvent&amp; event);</h3>
			</div>
<div id="freshEvent(const BEvent&)">
<h3>virtual void freshEvent(const BEvent&amp; event);</h3>
			</div>
<div id="paintEvent(const BEvent&)">
<h3>virtual void paintEvent(const BEvent&amp; event);</h3>
			</div>
<div id="mouseEnterEvent(const BMouseEvent&)">
<h3>virtual void mouseEnterEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mouseLeaveEvent(const BMouseEvent&)">
<h3>virtual void mouseLeaveEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mousePressEvent(const BMouseEvent&)">
<h3>virtual void mousePressEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mouseReleaseEvent(const BMouseEvent&)">
<h3>virtual void mouseReleaseEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mouseMoveEvent(const BMouseEvent&)">
<h3>virtual void mouseMoveEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mouseClickEvent(const BMouseEvent&)">
<h3>virtual void mouseClickEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
<div id="mouseDoubleClickEvent(const BMouseEvent&)">
<h3>virtual void mouseDoubleClickEvent(const BMouseEvent&amp; mouseEvent);</h3>
			</div>
		</div>
	</body>
</html>